/**
 * Copyright (C), 2015-2020, bogewang
 * FileName: InitUnionPayProject
 * Author:   foren236598164@aliyun.com
 * Date:     2020/3/5 14:43
 * Description: 银联证书初始化
 * History:
 * <author>          <time>          <version>          <desc>
 * 作者姓名           修改时间           版本号              描述
 */
package com.bogewang.init;

import com.unionpay.acp.sdk.SDKConfig;
import org.springframework.boot.ApplicationArguments;
import org.springframework.boot.ApplicationRunner;
import org.springframework.stereotype.Component;

/**
 * 〈一句话功能简述〉
 * 〈银联证书初始化〉
 *
 * @author foren236598164@aliyun.com
 * @create 2020/3/5
 * @since 1.0.0
 */
@Component
public class InitUnionPayProject implements ApplicationRunner {

    @Override
    public void run(ApplicationArguments args) throws Exception {
        SDKConfig.getConfig().loadPropertiesFromSrc();
    }
}
